package com.maxmlr.music.system.controller;

import com.maxmlr.music.common.bean.ResultBean;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.beans.factory.annotation.Autowired;
import com.maxmlr.music.system.service.FilesService;
import com.maxmlr.music.system.entity.Files;
import io.swagger.annotations.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 * @author max
 * @version 1.0
 * @ClassName AdminFilesController
 * @Description 文件上传 页面跳转控制器
 * @Copyright Copyright (c) 2020: www.maxmlr.com.
 * @since 2020-06-14
 */
@Slf4j
@Controller
@Api(value = "/system/files", tags = "Files 页面跳转控制器")
@RequestMapping("/system/files")
public class AdmFilesController {

    @Autowired
    public FilesService service;

    /**
     *  功能列表主页
     *
     * @return string
     */
    @GetMapping
    @RequiresPermissions("system:files:files")
    public String files() {
        return "system/files/files";
    }


}
